package com.joinway.mobile.bean;

import java.util.LinkedList;
import java.util.List;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.BaseBean;

@ApiObject(name = "ProductProperty", description = "产品属性")
public class ProductProperty extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiObjectField(description = "类别名称")
	String name;
	
	@ApiObjectField(description = "属性列表")
	List<ProductAttribute> attributes = new LinkedList<>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ProductAttribute> getAttributes() {
		return attributes;
	}

	public void setAttributes(List<ProductAttribute> attributes) {
		this.attributes = attributes;
	}

}
